fix #17 by removing non-utf8 characters