fixed issue with default values