finish fixing error messages. closes #43