fixed the spelling of a variable name; a bug that took hours to track down; thanks PHP