Fix for ubuntu