Fix bug with opt