modify option part, err detection