improved the error message to show message, line and column