add filterNickname function.