bug fix for testful