removed duplicate query