fixed some bugs and adding a new version solved recursively with li>ls