fix bug under gnu/4.8.2(test made on titan)