fix incomplete types