tweak gradient and make l float