restoring fb code