fix problem with default value