Fixed a bug in the cmspwn module