updated thumb crash issue

I updated the agent so it should not crash when no thumb is present.