make element nullable for photo item