customization patch to stop course crash