Fixed wrong name for error variable