minor fix to discover