fixed pastesettings bug