clean up instance