finally fixed figure settings