Fix the bug and change pathes to current folder