Fixed bug when no options are defined