fix pac & log