bugfix delete returnTo