Fixed bug in header drop statements