fix bug where first was not guarded