fixes errors with initial value in some controls