fix for #248 number 2

Last fix didn't work, this one should though