fixed incorrect message showed in pubic modal