oops fixed issue with add entry without photo