Fix relocated main class