build dir correction