udpated for ls adapter tweak