get pwd
minor fix