fixed displaying wrong values for minutes