Fix active record settings