fix errors introduced to doShowCamera