fix save of creating publishType