moved 'li'+'input' constructor out of settings function