missed a spot where realname could give null reference
double checked rest of code