fixed the gcc error