Fix runtime error.