drag and select features half working