Fix random deprecation warning
Fix random deprecation warning

(cherry picked from commit 9fef6b05d8dc6542f7fdd3430119d7cf6cd9e4c5)

kivra/erlydtl,kivra/erlydtl,erlydtl/erlydtl,erlydtl/erlydtl,erlydtl/erlydtl,kivra/erlydtl