GNIRS detector performance regained