fix for newer ubuntu versions