some fixes in static and media settings and etc