fixed missing new in object declaration