fixed acceleration logic
fixed acceleration