change class LocaleWebApp (fix method) and change class Media (change query select media)