fix gcc warning