modify doctor constructor (correct id problem)