alternate name check bug fix