fix bug build error