rename table argument to parent in scalar