fix count of minutes