compilation fix up