corrected bug where bad attribute was accessed in infinite mountaincar