fine-tuned optical detector

* moved gain reduction meter correction to where it belongs