add check for error index: -1113, -1119