fixed identity ordering problem (front reference test)