Hey Boula, the good news is that nothing is wrong with your mesh! In the second image, Blender is just trying to show you both the unsubdivided mesh for editing and the subdivided mesh for previewing. You can see an exaggerated version of that here:

The strange shapes you get are just where the solid subdivided preview pokes outside of the somewhat transparent unsubdivided mesh. Hope that clears it up!