Removing unnecessary logopts