fix white crashes