fixed catch if no camera