wmr bug fix