fix errors sent by backend