remove unnecessary controls