making sure that if no scheduler is specified, memory scheduler is provided