fix widget post functionality.