fix entry point to accommodate platform refactoring