Minor bug in inertia fixed