media root working without trailing slash