make sure nick_name is defined and guard against nil