changed easylist pop function