fixed wrong variable name on dropHeaders