Bug fix for Ubuntu alternatives