switch p to li