fixed some bugs with gre interface