fixed bug where could get empty string as person by checking for empty string