prevent error on empty options