working snippet duplication error in robot