fix class method

Signed-off-by: zensh <admin@zensh.com>