throw error on component show