temporary fix for select bug