fixing repository string and variables