fixed gcc error