fix object error in functional tests