Fixing bugs in publication_controller...