fixed bug in UTF-8 decoding module