fixed minutes bug