fix random error & add main scene