correcting aliases for partial functions