fixed pig latin logic