Made error messages more readable