Revert "change all typeof to __typeof__"

This reverts commit be3df0dbc54a0de4670ae8713e0a49d8d14db36e.