fix bug for 8 methods