fixed logfile open mode
fixed passthrough list index issues