fixed a few typos in the draft function