fixed dir default value
slow progress on proj 2