fixing formating of controls