fixing the version replace