fixed error where command string would be nil if no options where given