fixing media upload tweak