remove .logs and fixed a key bug