fix list items after and before