proposed fix to #1

In case this is the proper fix.