fix path attr assignment statement, was broken when token not present