fixed bug regarding past messages slowdown