fix compile test and add queue and token to build