fixed error with parsing svg path