bug in multiple photo fixed