Fix opt getting