fixed nan bug on duration
fixed non existant start year problem