out-of-bounds error wfix