fixed error on if then  in FB page alert posts