Fixed typo in passing instance object in the main branch of create_instance()