fix depracation on AR