fixed default value bug