Header missing error bug workaround