fix for slop bug in issue \#82