bug in remove_old() fixed