fix directory checking
update README