Error 500

Creating default object from empty value