do not validate if no file or image is present