fix bug when loading published scene