empty header error is definitely still happening