Fix function in module time