fix compilation errros

fix compilation errros