Fixed some real-time inquery value for states for real time cost calculation