fixed sed command to change port