Fixed a bug with discover and CORDEX