Path bug fix