had added closing ?> tags to all the controllers. now removed them again