fix decoding loop in sherlock265