cursor pointer for delete