added lower() for tables and columns