fixed a bug in camera fix