better fix for ubuntu