bug fix

hopefully fixed some encoding errors.