fixed could not post property when no images