Fixed issue where setting the controller name might break. Example ticke...

...t_type get converted to tickettype.