Fix relative type.