fix compil errors