fixed result of for gcc