Fix gcc complains