final dummy state test and bug fix