decode error fix

too cheapy fix!