fix version replacement