bug fix where class rabbit was defined wrong