fix lint errors
fix #6 fix #19 fix #20. bump to 2.4.0