fixed error in gcc