use cstdint replace cinttypes