made compatible with newest love version.