fix number of methods in Asm class