fixed off-by one error for minutes