add error listener on lazy