Hotfix empty p with blocks

Fix the issues related to insert block in empty p and this result on get a empty p before the block