Fixed mistake in inlining