fix contains in widget