bug fixes regarding column name resolution and aliasing