Fixing camera crashes woth version < 2.0