fix for bugzilla 7693