Remove unsued line
Fix path to be string insread of pathname