Some bugs solved and findbypath started