fixed constructor for default value