fixing lm_names vs lm_path