partial compile fix