Revert activerecord which should not be updated
Fix spaces and force correct variable name