Tried to fix ApplicationMain