solved capture photo when coming from singlephoto