FIX : catch warning in time gen