Modifications due paperclip validation error according to the error