how new cookie code make avbot working perfectly