added postgres and s3 fix
fixed default_end_date
dead