fix object creation without new keyword