ruint32 -> uint32_t
remove unused