fixed minute bug