fix encoding issue with not found message