Unnecessary html removed from widget