gear bug fix