fix dirname in setup.sh