fix compilation issue with 1.6