added extra space before WHERE