Add davboecki's bug fix.. Stupid typos.