changed mg to be in a regular popup issue #22