Bug fixing in collections and pusblishing