Fixed getsched, getfill