bug fixed in MainScene