fixes jumpiness