added missing guard clauses
upgraded to latest version of LiteGuard.Source