fixed the assertion issue in day 13 code.