fix R17 compile warning