deleted a null pointer