spelling fixed
(canceled -> cancelled)
minor coding improvements