fixed bug in elapsed shit