fix for selector overwrite in render