fixes to facebook callback