fix pm cache issue