Bug Fix 1 for jpeg download