fix compiled error