moving port attributes to the top so it is available to the other default attributes