commander : fixed warnings int vs size_t comparison