Fixed gcc issue