fixed error in TimeDiff function
fixed missing duration graph
removed duration from client
duration removed from API