fix controller error badge