resolved bug when '*' in subquery is not rewritten properly in alias