Object creation fix