fixed the addinstance thing