bugfix for empty options