Fix to remove warning from OTP 17