fix media size import