add error function on SceneChange