- fixed BASE_DIR problem