Update Main.php

fix for delete block glass and add block glass :)