Error in rain decoding