Fixed bug in widget import