adapt port ui