update fillStyles. (fix for bug of typescript?)