Do not use static EReg because the static states does not work in threaded environment