adding fb.appid and cleanup