resolve snippet name conflicts