fix guard warning