fixed a bunch of stuff

fixed content creation bugs