Modified if statement of up alias