fixed bug that happended after disposing extension.