adjust port's connection are calcualtion to previous CSS modification