remove settings to the constructor

remove settings to the constructor