deleted select and result controllers
corrected some bugs