fixed solidFromSlices when no callback is provided