this is a fix for #255 on the Mac side but Linux still doesnt work