fix for ubuntu