fixed free food border logic