fix options attributes