PM fixing contract doctors' system to ensure they do not los