fix the ninja bug