fix bug of default value