correction to pass context to nex photo