Remove fb_valid and replace it by fb_flags