little changes for using default parameters correctly

Next branch of fixes for issue #229