bump to 1.3.1
fix a bunch of thing