Somehow this fixes the crash