Changed gotoScene to be able to delete the optional fields