fixed bug in gmfragment