hopefully fixing crash