fixing opts