acceleration bug fix