masking intialt state of lm changes added