added alias name of source table to attributes. should  solve original problem, will not solve all problems if users reuse aliases.