fixing tuple issue with MEDIA_ROOT