disabled some controls