fix for selection