fixed ~ directory