proper options handling