semi clean code for FBWidget