bug fixing on translating result set