search by criteria is working now