improve handling of paritions and started on cpu scheduler