Fixing crazy agent