add guards to all checkers

goddamn I love macros