fixsing bug for inline lists