fix undefined alt