set option before anything else