removed bug in gmf model