fixed server crashing while sharing on Facebook.