hack - remove selection before init