fix Creating default object from empty value