bug fix for P4PCamera