remove incorrect installation directories