fixed global scope for Facebbok