Fixed bug where man goes into infinite loop.