add try catch block in force_encodings_on_fields action