fixed a default value not being cleared between function calls
Merge pull request #304 from b97pla/develop

fixed a default value not being cleared between function calls