removed error from endd