resource msg upgrade bugfix.