Fixed bug in range header