corrects collection parameter to Schema