Media Fixes

Fixed looping error