fix customcamera.js