fixe dminor null pointer with in