recursive merging & alias fix