fixed view bug owing to prepending 'http://' to domains