fixing mmf integration