fix metric border overlap