Fixed new active wp line shown before old one is removed