numerous changes for better lpms