Fix media length limit