add missing guard