remove was using the wrong time