Corrected the mistake

Corrected the mistake in get_system_value value function.
Added the return statement for system_value.