fixed bugs in GdfElementSelector