removing some directory pointer