Updated to 3.1.1

Fixed issue in last push.