small changes for lmdr