removing before_save warnings