Fix incorrect sql name