Update Main.php

Update Crash