Fix errors when there's no keyword/link entered