fixed #2, photos no longer take on cancel

fixed #2, photos no longer take on cancel