fixed the main class entry