ensure there is a camera attached