correction in options handling