one more directory check. #262