fix destinationType in takePhoto()