fix static vectors in case of errors