fixed json string problem with widgets