dir and path change