bugfix in guarded string accessor