some minor changes to make de default values like the original polyosam