Fixed a bugs and got rid of annoying alert. (fixes #63571)