Fix indentation. Add more verbose error message.