cleaning up 'gmg' layout