fix activemodel dependency