fixing main class Application