DST decoding works with some minor problem