fixed an error in scheduling strategies, unsigned int was set to minus one