fix spelling of folder name
command build: fix logical bug; fix reference bug