Remove AGF(too many change to use it)