Fix error warning