Fixed a bug when the controller has no constructor