fix for crash when creating board