fix checkGetInstance