fix small error with BASE_DIR