fixed deleting at cusorlocation 0