fixed initalized method in assert