fixed guides not deleted properly - with a nasty hack