Fixed error from using undefined values after GetOptions