remove in lock_ppq must not be const
optimization and correction