removed error listener