Fixed bug with root-check. Supressed logging