fixed bug with FGX