fixed detection of ambigous writing selectors