if case for linux modified