fix bug for register_taxonomy