revised merging of warnings