fix arel compatibility