small fixes in Lm