some option handling clean=up