camera template cleanup + opti