fixed some controller errors
continuting to work through front end