crash on calibrateCamera