handle to_ary bug