bug fix for cow

bugfix