fixed table alias. closed #1447
Merge pull request #1451 from rojblake/user_fix

fixed table alias. closed #1447