Fixing diff time storing.