Fix issue 653

First commit just fixes whitespace in error output, the second actually fixes the issue for me.