fixed image validation paperclip