fix error message in media size import