fix time
fix color printf in windows