change BASE_DIR to absolute path