Fixed the bug Can't convert to object

I don't know how to make a minified version. Please can you take care of it. Thank you very much