parse options in mtl