fixing double jump