fixed null pointer with incop pointers