fix missing ; and cleanup root