Fixing setdefaultparm call being invalid...