Fix Crash on attack