fixed problem where old ajax responses were coming in later