removing redundant controles