load by code bug

it loads but changes the scene too early, need to further investigate