remove broken appendWhere