change id to uint_32_t