Fix error declaration