Fixes throw error message