removed error redirect