fix promgen variables