try to fix linear gradient on ios
sort out pens formatting