clean up duplicate code in previous commit
bump to 3.1.3