fixing media directory config source