fix for #490
bump version to 3.1.1