Fixed bug with wrong wigdet template