Fixed a problem in Application.class