fixed BASE_DIR setting