fixed reload bug with settings