Fix AntController bugs