Fixed issue where setting the controller name might break. Example ticket_type get converted to tickettype.