fixed the upPointers bug