Fix build crash