kalua: deleted unused funcs