fixed: useless variable caused compile error