improve setting module