Fixed a default value bug