ani.rb bug fix