fix replacement in post build task