Dynamic pagecontent (text) now working

Dynamic pagecontent was not working before. bugs fixed.