fix main for singletone scene