fix for column alias with joins