another attempt to fix camera plugin