fix load crashes