refactor errorBean messages