fixed issue with image-count on item add/edit page