fixed repeated strings and memory leak (lel)