Fixed mediaFolder bug