removed redundant options check