fix bug minutes js