fix stacktrace over undefined global get_delay. OOP is Hard