mod check and search root