envy24control: fix memory access errors in profiles