smartconfig now working properly