fixing call to historian with wrong param