adjusted margin in port imgs