added extra dirname as pr review comments