fix a current path