fixed issue with default params