fixed gcc warning