added error msg in save wmc