Fixed mediaFolder issue