fix redundant increment of guid 

This could be a potential source of memory leaks on extension unload. (I assume that's the only reason guids are issued in the first place?)