native: defenum's bind function was wrong