fixed crashing gm log