fix on verification of instalation directory