Fix throw error