minor fixes to firstrun and root