avoid trace aborts on self type checks