deleted relativePath and target variable