food detection lag fix