fix for image request crash