[common] fix underlying type workaround >_>