I'm pretty sure the problem occurs in line 72, but I can't see why, the method seems fine to me.