avoid a weird crash