source edit bugfix with http and https links