bug fixes & changed .wm to .lm