fix widgets not working on deploy