try decode first