Fixes issue caused by last commit

corrected fix for #44