added default None value to optional settings