Catch the dtype problem as soon as possible
Fix typo.
Merge pull request #422 from lamblin/gh_392

Small changes following up gh-392 (GSN)