include table name in scope sql queries to avoid table ambiguity problems