fix bug of build failure