control() not working