Fixed bug in sheep

FIxed bug in sheep