Fixed acceleration bug