try to improve ubuntu check