fixed instance name bug