fixed errors for facs