- simplify code
- fix ignore file path