fix scene loading and scene saving