fixed typo with mainselection