fix all compile error