fix the register activation hook table creation