remove facebook function and fields