Fix the publish resovler