some hax to make camera/photo stuff work better