Fix settings argument not pass.