fix 304 being returned all the time