correct dwell time and relevancy computation