instance bug fix