fix load photos