replace absolute path to BASE_DIR-based