Fix the errors of gmk ? there might still be errors from the console refactor..