Fix the reference version issue