What dictionary can say about phrase

running around like a headless chicken