optimize Pureview plugin, resolved #294 in v1.x