spotlib.2.4.0 fix