fix photos count