fixed problems parsing names