perhaps fixes crash?