Fixed table alias error