fix of path rendering