fixed DPMS crashing issue