fixed problem with timestamp matching