fix badmatch in now_ms