Update Main.php

Fix start with clean BD