fix err.message