fixed preview course generator bug