remove extraneous masking in decode