fix weird compile error