fix core from adding site like http://xyz.com/?ddd