fix api
move camera functions