Update to 1.3.1

Bug fix