fixed off by one while removing header