fix for test res