minor fix on directory correction