auto redetect camera after capture problem