replace uint16 by uint32