media upload fix

Signed-off-by: Robert Cabri <robert@dicabrio.com>