fix: cannot use generic function without initiation

Signed-off-by: Nasfame <laciferin@gmail.com>