fix selector errors