change root routes and fix when input media
change rigth menu