fixed the elsif with no conditions in the controllers
member mod