[fix #2] pass selected as object, not string