fixed camera and made some #pragma region