fix weird race condition of compinit not being run soon enough