fixing small warnings in DefaultController