svg creation fix