encoding error fixed