small bug with dir sub