add version constraint to scheduler