fixed .fg bug