Pointer bugs fixed.