fix eat and attack