fix for duplicate guides bug