clean up options in doc