hash: fix check when creating fbk hash