apply my patch from ivaynberg/select2#702