fix all backend errors