Fix Publish Extension Bugs