fix display of importing error message when it exceeds 255 characters. for issue #242