media size fix