error in attract