removed extra key in error message