fix init and util issues