remove validation from photo