BS: check directory with pwd