@javiparei
i think you have bugs in your markup code. that is what i have seen during my programming.
Just restore your prior version and do it again.