fixed decode error